gl: Fix copy&paste error in blur shader
authorTimm Bäder <mail@baedert.org>
Mon, 8 Jan 2018 17:36:48 +0000 (18:36 +0100)
committerTimm Bäder <mail@baedert.org>
Mon, 8 Jan 2018 18:23:06 +0000 (19:23 +0100)
gsk/resources/glsl/blur.fs.glsl

index 8cf1e2868c1678d969331bf69f0df1f29d4043c7..78107aa78bd8401810107530de5dda9f0bbfe7c5 100644 (file)
@@ -18,7 +18,7 @@ vec4 blur_pixel (in vec2 uv) {
 
   for (int y = -half_radius; y < half_radius; y ++) {
     float fy = Gaussian (radius / 2.0, float(y));
-    float offset_y = y * pixel_size_x;
+    float offset_y = y * pixel_size_y;
 
     for (int x = -half_radius; x < half_radius; x ++) {
       float fx = Gaussian (radius / 2.0, float(x));